import java.util.Date;

import javax.sql.DataSource;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import com.chpro.bean.BeanUtil;
import com.jqgrid.entity.Student;

public class T {
	public static void main(String[] args) throws Exception {
		ApplicationContext ac = new ClassPathXmlApplicationContext("applicationContext.xml");
		DataSource d1 =(DataSource)ac.getBean("dataSource");
		DataSource d2 =(DataSource)ac.getBean("dataSource");
		System.out.println(d1==d2);
		
	}

}
